﻿using MRSite.AutoMapper.Attributes;
using MRSite.Entity;
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MRSite.EntityDto
{
    [AutoMapBoth(typeof(Customer))]
    [ProtoContract]
    public class CustomerDto
    {
        [ProtoMember(1)]
        public int id { get; set; }

        [ProtoMember(2)]
        public String username { get; set; }

        [ProtoMember(3)]
        public String nickname { get; set; }

        [ProtoMember(4)]
        public String inviter { get; set; }


        [ProtoMember(5)]
        public String realname { get; set; }


        [ProtoMember(6)]
        public int group_id { get; set; }

        [ProtoMember(7)]
        public int levels { get; set; }




        [ProtoMember(8)]
        public int pid { get; set; }

        [ProtoMember(9)]
        public String ppath { get; set; }

        [ProtoMember(10)]
        public int plevel { get; set; }

        [ProtoMember(11)]
        public int pfs_id { get; set; }

        [ProtoMember(12)]
        public int iscanjt { get; set; }



        [ProtoMember(13)]
        public DateTime? canjttime { get; set; }



        [ProtoMember(14)]
        public String pass { get; set; }




        [ProtoMember(15)]
        public String passpay { get; set; }

        [ProtoMember(16)]
        public String salt { get; set; }


        [ProtoMember(17)]
        public int status { get; set; }

        [ProtoMember(18)]
        public String mobile { get; set; }

        [ProtoMember(19)]
        public String email { get; set; }

        [ProtoMember(20)]
        public String card { get; set; }

        [ProtoMember(21)]
        public String sex { get; set; }


        [ProtoMember(22)]
        public String serviceid { get; set; }



        [ProtoMember(23)]
        public DateTime regtime { get; set; }

        [ProtoMember(24)]
        public DateTime? checktime { get; set; }

        [ProtoMember(25)]
        public int sort { get; set; }


        [ProtoMember(26)]
        public String myqrcode { get; set; }

        [ProtoMember(27)]
        public String myposter { get; set; }






        [ProtoMember(28)]
        public Decimal regamount { get; set; }

        [ProtoMember(29)]
        public Decimal levelsamount { get; set; }

        [ProtoMember(30)]
        public Decimal canreturnamout { get; set; }

        [ProtoMember(31)]
        public Decimal totalfee { get; set; }

        [ProtoMember(32)]
        public Decimal balance { get; set; }

        [ProtoMember(33)]
        public Decimal salesfee { get; set; }

        [ProtoMember(34)]
        public Decimal score { get; set; }

        [ProtoMember(35)]
        public Decimal totalscore { get; set; }

        [ProtoMember(36)]
        public Decimal score_today { get; set; }

        [ProtoMember(37)]
        public Decimal score_today_self { get; set; }

        [ProtoMember(38)]
        public Decimal score_fwwd { get; set; }


        [ProtoMember(39)]
        public decimal golds { get; set; }

        [ProtoMember(40)]
        public decimal totalgolds { get; set; }


        [ProtoMember(41)]
        public decimal golds_jt { get; set; }

        [ProtoMember(42)]
        public decimal totalgolds_jt { get; set; }

        [ProtoMember(43)]
        public decimal points { get; set; }

        [ProtoMember(44)]
        public decimal totalpoints { get; set; }

        [ProtoMember(45)]
        public Decimal hongbao { get; set; }


        [ProtoMember(46)]
        public Decimal totalhongbao { get; set; }

        [ProtoMember(47)]
        public Decimal hongbao_sc { get; set; }


        [ProtoMember(48)]
        public Decimal hongbaosale { get; set; }

        [ProtoMember(49)]
        public Decimal shougoujl { get; set; }

        [ProtoMember(50)]
        public Decimal totalshougoujl { get; set; }


        [ProtoMember(51)]
        public decimal grouphb { get; set; }

        [ProtoMember(52)]
        public decimal totalgrouphb { get; set; }

        [ProtoMember(53)]
        public decimal serviceJl { get; set; }

        [ProtoMember(54)]
        public decimal totalserviceJl { get; set; }

        [ProtoMember(55)]
        public decimal pension { get; set; }

        [ProtoMember(56)]
        public decimal totalpension { get; set; }

        [ProtoMember(57)]
        public Decimal aixin { get; set; }

        [ProtoMember(58)]
        public Decimal txamount { get; set; }

        [ProtoMember(59)]
        public Decimal sellamount { get; set; }

        [ProtoMember(60)]
        public Decimal cjamount { get; set; }

        [ProtoMember(61)]
        public Decimal zhitui { get; set; }

        [ProtoMember(62)]
        public Decimal jiandian { get; set; }


        [ProtoMember(63)]
        public Decimal returngolds { get; set; }

        [ProtoMember(64)]
        public Decimal returnpoints { get; set; }



        [ProtoMember(65)]
        public Decimal daygolds { get; set; }

        [ProtoMember(66)]
        public decimal teamjl { get; set; }

        [ProtoMember(67)]
        public decimal teamjl_pj { get; set; }

        [ProtoMember(68)]
        public decimal fenghong { get; set; }




        [ProtoMember(69)]
        public Decimal freezeamount { get; set; }

        [ProtoMember(70)]
        public Decimal txtotalamount { get; set; }





        [ProtoMember(71)]
        public Decimal baodan { get; set; }

        [ProtoMember(72)]
        public Decimal totalteamyeji { get; set; }

        [ProtoMember(73)]
        public String avatar { get; set; }

        [ProtoMember(74)]
        public String addr { get; set; }

        [ProtoMember(75)]
        public String postcode { get; set; }


        [ProtoMember(76)]
        public String openid { get; set; }

        [ProtoMember(77)]
        public String acceptName { get; set; }

        [ProtoMember(78)]
        public String acceptMobile { get; set; }

        [ProtoMember(79)]
        public String province { get; set; }

        [ProtoMember(80)]
        public String city { get; set; }

        [ProtoMember(81)]
        public String area { get; set; }



        [ProtoMember(82)]
        public String bankname { get; set; }

        [ProtoMember(83)]
        public String accountname { get; set; }


        [ProtoMember(84)]
        public String bankaccount { get; set; }

        [ProtoMember(85)]
        public String branchname { get; set; }



        [ProtoMember(86)]
        public String weixin { get; set; }

        [ProtoMember(87)]
        public String weixin_name { get; set; }

        [ProtoMember(88)]
        public String alipay { get; set; }

        [ProtoMember(89)]
        public String alipay_name { get; set; }

        [ProtoMember(90)]
        public int isout { get; set; }

        [ProtoMember(91)]
        public int isservice { get; set; }

        [ProtoMember(92)]
        public String weixinpay { get; set; }




        [ProtoMember(93)]
        public int isfree { get; set; }

        [ProtoMember(94)]
        public String tjmobile { get; set; }

        [ProtoMember(95)]
        public decimal chenxinzhishu { get; set; }

        [ProtoMember(96)]
        public int isrenzheng { get; set; }

        [ProtoMember(97)]
        public int? isback { get; set; }

        [ProtoMember(98)]
        public DateTime? renzh_time { get; set; }

        [ProtoMember(99)]
        public string cardUp { get; set; }

        [ProtoMember(100)]
        public string cardDown { get; set; }

        [ProtoMember(101)]
        public string cardHand { get; set; }



        [ProtoMember(102)]
        public int isshop { get; set; }

        [ProtoMember(103)]
        public int shoptype { get; set; }


        [ProtoMember(104)]
        public int tjcount { get; set; }

        [ProtoMember(105)]
        public int tjcount_rz { get; set; }

        [ProtoMember(106)]
        public int yxtjcount { get; set; }

        [ProtoMember(107)]
        public DateTime? lastlogintime { get; set; }

        [ProtoMember(108)]
        public DateTime? yshtime { get; set; }

        [ProtoMember(109)]
        public DateTime? pfstime { get; set; }


        [ProtoMember(110)]
        public int isagent { get; set; }

        [ProtoMember(111)]
        public int agent_level { get; set; }

        [ProtoMember(112)]
        public DateTime? agent_time { get; set; }

        [ProtoMember(113)]
        public int ishbjl { get; set; }

        [ProtoMember(114)]
        public DateTime? hbjl_time { get; set; }

        [ProtoMember(115)]
        public int tjpfs_count { get; set; }

        [ProtoMember(116)]
        public int teampfs_count { get; set; }

        [ProtoMember(117)]
        public decimal temp_score_today { get; set; }

        [ProtoMember(118)]
        public decimal temp_score_today_self { get; set; }


        [ProtoMember(119)]
        public int isnoxj { get; set; }

        [ProtoMember(120)]
        public int ispingbi { get; set; }

        [ProtoMember(121)]
        public CustomerGroupsDto CustomerGroupItem { get; set; }

        [ProtoMember(122)]
        public IList<CustomerloginlogDto> customerloginlogList { get; set; }

        [ProtoMember(123)]
        public CustomerLevelsDto CustomerLevelItem { get; set; }
    }
}
